<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Migration_Table_commodity_addcolumn_schoolunicode extends CI_Migration
{
    public function up()
    {
        $fields = array(
            'schoolunicode' => array('type' => 'int')
        );
        $this->dbforge->add_column('commodity', $fields);
    }

    public function down()
    {
        $this->dbforge->drop_column('commodity', 'schoolunicode');
    }
} 